package com.itheima.多态.多态的三种体现_03.抽象类多态;

public abstract class Animal {
    public abstract void eat();
}

class Cat extends Animal {
    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
}
